<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_cpsms = "localhost:3306";
$database_cpsms = "cpsms";
$username_cpsms = "root";
$password_cpsms = "root";
$cpsms = mysql_pconnect($hostname_cpsms, $username_cpsms, $password_cpsms) or trigger_error(mysql_error(),E_USER_ERROR); 
mysql_select_db('cpsms',$cpsms);
?>